<style tyle="text/css">
  .modal-lg {
      width: 60%;
  }
</style>
<div class="modal-header">
<h4 class="modal-title">添加出境游</h4>
</div>
<div class="modal-body">
  <form name="form" class="form-horizontal">
    <div class="form-group">
      <div class="col-lg-4 control-label">游团名称:</div>
      <div class="col-lg-5">
        <input type="text" class="form-control" ng-model="group.group_name" placeholder="必填">
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">主题:</div>
      <div class="col-lg-5">
        <input type="text" class="form-control" ng-model="group.group_theme" placeholder="必填">
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">出发城市:</div>
      <div class="col-lg-5">
        <input type="text" class="form-control" ng-model="group.from_place" placeholder="必填">
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">游玩地区:</div>
      <div class="col-lg-5">
        <input type="text" class="form-control" ng-model="group.arrive_place" placeholder="必填">
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">游玩天数:</div>
      <div class="col-lg-5">
        <div class="input-group">
          <input type="number" class="form-control" ng-model="group.period">
          <span class="input-group-addon">天</span>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">包含交通:</div>
      <div class="col-lg-5">
        <div class="radio">
          <label class="i-checks">
            <input type="radio" ng-model="group.contain_travel" value="1"><i></i>包含
          </label>
          <label class="i-checks" style="margin-left: 20px">
            <input type="radio" ng-model="group.contain_travel" value="0"><i></i>不包含
          </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">包含食宿:</div>
      <div class="col-lg-5">
        <div class="radio">
          <label class="i-checks">
            <input type="radio" ng-model="group.contain_room" value="1"><i></i>包含
          </label>
          <label class="i-checks" style="margin-left: 20px">
            <input type="radio" ng-model="group.contain_room" value="0"><i></i>不包含
          </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">不包含项目:</div>
      <div class="col-lg-5">
        <input type="text" class="form-control" ng-model="group.no_contains">
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">宣传图：</div>
      <div class="col-lg-5">
        <img ng-src="{{group.img_url}}" width="300" height="180" ng-model="group.img_url">
        <input type="file" nv-file-select uploader="uploader" accept="image/*"/> <br/>
        <ul class="list-group">
          <li class="list-group-item" ng-repeat="item in uploader.queue">
            文件名:<span ng-bind="item.file.name"></span>
            <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
              <span class="glyphicon glyphicon-upload"></span> 上传
            </button>
            <div class="progress" style="margin: 5px 0px">
              <div class="progress-bar" role="progressbar" ng-style="{'width': uploader.progress + '%' }"></div>
            </div>
          </li>
        </ul>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">描述:</div>
      <div class="col-lg-5">
        <textarea rows="3" class="form-control" ng-model="group.description"></textarea>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">注意事项:</div>
      <div class="col-lg-6">
        <textarea rows="5" class="form-control" ng-model="group.notice"></textarea>
      </div>
    </div>
  </form>
      
</div>
<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-click="ok()">确认</button>
  <button class="btn btn-danger" type="button" ng-click="close()">取消</button>
</div>